home *** CD-ROM | disk | FTP | other *** search
/ Java Programmer's Toolkit / Java Programmer's Toolkit.iso / gs3.53 / current.doc < prev    next >
Text File  |  1996-01-10  |  8KB  |  206 lines

  1.    Copyright (C) 1990, 1995 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17.  
  18. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  19.  
  20. This file, current.doc, describes problems and new features in the current
  21. release of Ghostscript.  This file describes version 3.53 of Ghostscript.
  22.  
  23. For an overview of Ghostscript and a list of the documentation files, see
  24. README.
  25.  
  26. New features (since release 3.33)
  27. ============
  28.  
  29. This is not a complete list of new features: see NEWS for details.
  30.  
  31. New switches:
  32.     -dFIXEDMEDIA freezes the initial size of the initial window or page;
  33.       attempts to change it with setpagedevice will be treated according
  34.       to the Policies entry for PageSize.  -g (but not -sPAPERSIZE=)
  35.       implies -dFIXEDMEDIA.
  36.     -dFIXEDRESOLUTION freezes the initial resolution; attempts to change
  37.       it with setpagedevice will be ignored.  -r implies
  38.       -dFIXEDRESOLUTION.
  39.     -dLOCALFONTS loads Type 1 fonts into the current VM, for
  40.       compatibility with Adobe printers.
  41.     -dNOFONTMAP suppresses loading the Fontmap, for environments that
  42.       rely entirely on FONTPATH and/or compiled-in fonts.
  43.     -dNOPROMPT suppresses the end-of-page prompts (but still waits for
  44.       the user to type a newline after each page).
  45.     -dSHORTERRORS makes error messages more Adobe-compatible.
  46.     -sFONTMAP=filename specifies the name of the Fontmap file.
  47.     -sSUBSTFONT=fontname substitutes the given font for all unknown fonts,
  48.       rather than using an intelligent substitution algorithm.
  49.     -P says look in `.' first for fonts and startup files.
  50.     -P- says *don't* look in `.' first for fonts and startup files.
  51.     -uname un-defines name (cancelling -d or -s).
  52.  
  53. New scripts and utilities:
  54.     pdf2ps input.pdf output.ps
  55.         Converts PDF to PostScript.
  56.     pdf2dsc.ps
  57.         Converts PDF to fake DSC-compliant PostScript code.
  58.  
  59. The MS Windows and OS/2 configurations now include the PDF interpreter.
  60.  
  61. The PDF interpreter now accepts PDF 1.1 files, except for those that use
  62. encryption.  PDF to PostScript conversion works properly.  The Rotate key in
  63. PDF files is implemented.
  64.  
  65. The library has a new API that allows feeding strings to the interpreter in
  66. arbitrary chunks.  See imain.h for details.
  67.  
  68. Anti-aliased characters are available under X Windows.  Use the x11alpha
  69. device instead of x11.
  70.  
  71. It is now possible to store band lists in RAM instead of on files.  See the
  72. definition of cl_impl in lib.mak.
  73.  
  74. An experimental RasterOp extension is implemented.  See language.doc.
  75.  
  76. setpagedevice is (finally) mostly implemented.
  77.  
  78. Changes
  79. =======
  80.  
  81. Usage
  82. -----
  83.  
  84. The pgm[raw] and ppm[raw] drivers no longer switch automatically to a more
  85. compact format for pages that don't need gray-scale or color.  Use pgnm[raw]
  86. and pnm[raw] instead.
  87.  
  88. Building
  89. --------
  90.  
  91. For compiling-in the initialization files, define COMPILE_INITS=1 instead of
  92. adding ccinit.dev to FEATURE_DEVS.
  93.  
  94. In devs.mak, printer devices must now include page.dev in their
  95. dependencies, and must use $(SETPDEV) rather than $(SETDEV).
  96.  
  97. There is a new macro XEAUX that defines the executable extension for
  98. auxiliary programs.  All references to <some-program>$(XE) must be replaced
  99. by $(<SOME-PROGRAM>_XE), where some-program={$(GS), ansi2knr, echogs,
  100. genarch, genconf, geninit}.
  101.  
  102. The mergeini.ps program has been replaced by geninit.c.
  103.  
  104. Internal
  105. --------
  106.  
  107. The library API for gs_image[mask]_init has changed significantly.  See
  108. gsimage.h for details.
  109.  
  110. The format of the gx_device structure has changed slightly.  If you have
  111. drivers that don't use the macros in gxdevice.h and gdevprn.h for defining
  112. the prototype, or that reference the PageSize member of the structure, you
  113. will need to edit them.
  114.  
  115. Known problems
  116. ==============
  117.  
  118. Usage
  119. -----
  120.  
  121. On a MS-DOS system, interrupting the interpreter by typing ^C doesn't
  122. restore the display mode.
  123.  
  124. Limitations
  125. -----------
  126.  
  127. serialnumber returns the same value in all copies.
  128.  
  129. User names (a Display PostScript facility) are not implemented.
  130.  
  131. Some floating point exceptions terminate the interpreter, rather than
  132. producing a limitcheck error.
  133.  
  134. The DCTEncode filter disregards the Blend parameter, and uses different
  135. QuantTables and HuffTables from Adobe's.
  136.  
  137. The DCT filters do not support nonintegral sample ratios, and do not allow
  138. Sum(HS*VS)>10, regardless of the value of the Relax parameter.
  139.  
  140. The size of the execution stack cannot be changed dynamically.  (However,
  141. the sizes of the operand and dictionary stacks can be changed.)
  142.  
  143. Separation color spaces are implemented, but devices that actually produce
  144. color separations are not supported.  The special color separations All and
  145. None, and the primary separations (Red, Green, etc.), are not supported.
  146.  
  147. execform and ucache are implemented, but they do not actually do any
  148. caching; setucacheparams and ucachestatus are dummies.  (This only impacts
  149. performance, not functionality.)
  150.  
  151. The image operator only honors the Interpolate flag in the image
  152. dictionary if the combined transformation (ImageMatrix + CTM) doesn't
  153. involve rotation, skewing, or X-reflection.
  154.  
  155. Any path building operation (moveto, lineto, curveto) that would generate a
  156. device coordinate larger than +/-2^19 will cause a limitcheck.
  157.  
  158. setpagedevice recognizes only the following standard keys for all devices:
  159.     BeginPage
  160.     EndPage
  161.     HWResolution
  162.     ImagingBBox  InputAttributes  Install
  163.     Margins
  164.     NumCopies
  165.     OutputAttributes  OutputDevice
  166.     PageOffset  PageSize  Policies  ProcessColorModel
  167. It uses the following for input attribute matching:
  168.     InsertSheet
  169.     MediaColor  MediaType  MediaWeight
  170.     PageSize
  171. It uses the following for output attribute matching:
  172.     OutputType
  173. Of course, specific devices may add to this list.
  174.  
  175. Graphics bugs
  176. -------------
  177.  
  178. The implementation only looks at the PaintType of the font when doing
  179. show, not when doing charpath.  Because of this, stroked fonts don't work
  180. correctly with charpath.
  181.  
  182. arcto gives an error for negative radii.
  183.  
  184. Opening more than one window device at the same time doesn't work.
  185. This is the case for both X Windows and Microsoft Windows.
  186.  
  187. cshow doesn't work with composite fonts.
  188.  
  189. Non-graphics bugs
  190. -----------------
  191.  
  192. The %statementedit pseudo-file is equivalent to %lineedit.  As a
  193. consequence, the interactive interpreter requires that every statement fit
  194. on a line, i.e., you can't have an unpaired (, {, or <.
  195.  
  196. The following operators that expect arrays won't accept packed arrays:
  197.     definefont (Subrs (type 1 fonts))
  198.  
  199. Syntax errors occurring within a binary token do not produce the error
  200. message specified by the Adobe documentation.
  201.  
  202. restore doesn't restore the user parameters.
  203.  
  204. 1 vmreclaim is equivalent to 2 vmreclaim -- there is no separate GC for
  205. local VM.
  206.